xsm: add hooks for claim
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Tue, 7 May 2013 14:49:18 +0000 (16:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 May 2013 14:49:18 +0000 (16:49 +0200)
commit919f59b3b99e1d845c6a1f30125e79e828805d87
treeaa20c9a715a12b2ba54bf9ec992a7f4a507c4bb7
parent013e34f5a61725012467f17650597d351fc0ca99
xsm: add hooks for claim

Adds XSM hooks for the recently introduced XENMEM_claim_pages and
XENMEM_get_outstanding_pages operations, and adds FLASK access vectors
for them. This makes the access control decisions for these operations
match those in the rest of the hypervisor.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com> (for 4.3 release)
Acked-by: Keir Fraser <keir@xen.org>
tools/flask/policy/policy/modules/xen/xen.if
xen/common/memory.c
xen/include/xsm/dummy.h
xen/include/xsm/xsm.h
xen/xsm/dummy.c
xen/xsm/flask/hooks.c
xen/xsm/flask/policy/access_vectors